<div class='menu' xmlns:ui='http://java.sun.com/jsf/facelets' xmlns:f='http://java.sun.com/jsf/core' xmlns:h='http://java.sun.com/jsf/html' lang='en'>

<ul>
	<li>
		<f:view>
			<h:form id='IndexForm' action="index.xhtml">
				<h:commandLink action='#{ IndexBean.updateList }' value='Umrechner' />
			</h:form>
		</f:view>
		<!-- <a class='hide' href='index.xhtml'>Umrechner</a>-->
	<ul>
			<li><a class='hide' href='#nogo' title=''>Neu &gt;</a>
			<ul>
				<li><a href='measurand.xhtml' title='S'>Messgrösse</a></li>
				<li><a href='unit.xhtml' title='S'>Einheit</a></li>
			</ul>
		</li>

		<li><a class='hide' href='#nogo' title=''>Bearbeiten &gt;</a>
		
			<ul>
				<li><a href='controller_measurands.xhtml' title='S'>Messgrösse</a></li>
			</ul>
		</li>

	</ul>
</li>

	<li><a class='hide' href='#nogo'>Benutzer</a>

	<ul>
		<li><a href='register.xhtml' title=''>Registrieren</a></li>
		<li><a href='changeUserData.xhtml' title=''>Einstellungen</a></li>
	</ul>


	</li>

	<li><a class='hide' href='help.xhtml'>Hilfe</a>
	<ul>
		<li><a href='aboutus.xhtml' title=''>Über uns</a></li>
		<li><a href='info.xhtml' title=''>Informationen</a></li>
	</ul>
	</li>
	<li>
	<f:view>
		<h:form id='logoutForm' action="login.xhtml">
		<h:outputText rendered='#{ LoginBean.loggedIn }'>
		 		<h:commandButton action='#{ LoginBean.logout }' value='Abmelden' />
		</h:outputText>
		</h:form>
	</f:view>
	<h:outputText rendered='#{ LoginBean.guest }'>
		<a class='hide' href='login.xhtml'>Anmelden</a>
	</h:outputText>
	</li>
</ul>
</div>

